﻿using coremvcdemo.Model;
using coremvcdemo.Model.DTO;
using static coremvcdemo.Controllers.LoginController;

namespace coremvcdemo.Services
{
    public interface IRoleService
    {
        public Dictionary<string, object> getAllRole();
        public Dictionary<string, object> InsertMenu(CoreDemo_B_菜单主表 menu, string Account);
        public Dictionary<string, object> FindMenu();
        public Dictionary<string, object> DeleteMenu(CoreDemo_B_菜单主表 menu);
        public Dictionary<string, object> UpdateMenu(CoreDemo_B_菜单主表 menu, string Account);
        public Dictionary<string, object> InsertRole(RoleMenu roleMenu, string Account);
        public Dictionary<string, object> GetRoleInfo(string Id);
        public Dictionary<string, object> DeleteRole(CoreDemo_B_角色列表 role);
        public Dictionary<string, object> GetAllPower();
        public Dictionary<string, object> GetAllUsing();
        public Dictionary<string, object> GetDeptUsing();
        public Dictionary<string, object> GetUserByDeptAndCardNum(PowerAddPara para);
        public Dictionary<string, object> SetRole(PowerAddModel model, string Account);
        public Dictionary<string, object> deletePower(CoreDemo_B_人员权限 model);
        public Dictionary<string, object> GetPowerInfoByParam(string Card, string Name);
        public Dictionary<string, object> UpdateRole(RoleMenu roleMenu, string Account);
        public Task<Dictionary<string, object>> GetPersonMenu(string Account);
    }
}
